<?php
/**
 * 项目
 * Created by PhpStorm.
 * User: zhan
 * Date: 2018/11/5  16:55
 */
namespace app\api\controller;
class Project extends Base
{
    //检查权限作用域
    protected $beforeActionList  = [
        'checkPrimaryScope' => [
            'except' => 'except'
        ],
    ];

    /**
     *   列表
     */
    public function projectList(){
        $projectList =  (new \app\api\logic\Project())->projectList();
        return $this->ajaxReturn($projectList);
    }

    /*
    *编辑
    */
    public function projectEdit()
    {
        $projectEdit =  (new \app\api\logic\Project())->projectEdit();
        return $this->ajaxReturn($projectEdit);
    }
}